Ext.onReady(function(){
	alert("1");
	var root=new Ext.tree.AsyncTreeNode({
				id:'root',
				text:'工具树',
				expanded:true
			});
	var loader=new Ext.app.MenuLoader({
				dataUrl:'E:\Users\chenqidou\Desktop\models\9bb9c8fa-2045-408e-bcde-cb9c898e25af.xml' // 调用xml页面
			});
			alert("helel");
var	tree=new Ext.tree.TreePanel({
				autoScroll:true,
				autoHeight:false,
				autoWidth:false,
				rootVisible:false,
				animate:true,
				border:false,
				lines:true,
				root:root,
				loader:loader,
				renderTo:'test',
				listeners:{
					render:function(tp){
					},
					loadexception:function(loader, node, response){// 解决在IE下偶尔有不能加载的bug
						node.loaded=false;
						node.reload.defer(10,node);// 不停的加载，直到true
					}
				}
			});
	Ext.MessageBox("hello1");
	tree.on('click',function(node){
				if (node.id=='1'){
					RunWrong.data.testRun();
				}
				if (node.id=='2'){
					DeleteXiaoIWord.form.showWindow();
				}
				if (node.id=='3'){
					configWindow.show();
				}
			});

})
